package com.bytedance.frameworks.baselib.a;

import android.content.Context;
import android.text.TextUtils;

import com.bytedance.frameworks.core.a.f;

import java.util.List;

public abstract class b {
    public String a;
    public e c;
    a b;
    String d;
    b$b e;
    long f;
    long g;
    public b(Context arg4, a arg5, b$b arg6) {
        this.b = arg5;
        this.e = arg6;
        if (this.b == null) {
            throw new IllegalArgumentException("config is null.");
        }

        if (this.e == null) {
            throw new IllegalArgumentException("responseConfig is null");
        }

        this.a = arg5.a();
        if (TextUtils.isEmpty(this.a)) {
            throw new IllegalArgumentException("type is empty.");
        }

        this.c = com.bytedance.frameworks.baselib.a.e.a(arg4);
        e v0 = this.c;
        String v1 = this.a;
        if (!v0.b.get() && this != null) {
            v0.a.put(v1, this);
        }
    }

    public abstract boolean a(String arg1, byte[] arg2);

    public static abstract class a {
        public a() {

        }

        public abstract String a();

        public abstract List b();

        public int c() {
            return 4;
        }

        public long d() {
            return 15000;
        }
    }

    public static final class b$b {
        protected final f a;

        public b$b(f arg1) {
            this.a = arg1;
        }
    }
}

